home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-20 / nosvw304.zip / NOSGAS.ZIP / PUBLIC / NOSVIEW / MEMORY < prev    next >
Text File  |  1992-12-31  |  6KB  |  146 lines

  1. ======                                              NOSview [301]
  2. memory
  3. ======
  4.  
  5. _________________________________________________________________
  6. memory circular [on|off]                              Default: on
  7. _________________________________________________________________
  8. Experimental flag for enabling or disabling reset of a search
  9. pointer.
  10.  
  11. >> Example:  memory circular off
  12.  
  13.  
  14. _________________________________________________________________
  15. memory debug [on|off]                                Default: off
  16. _________________________________________________________________
  17. Display or set the memory allocator debug flag.
  18.  
  19. If set to 'on', debug information containing most flags and
  20. parameters from the memory allocation routines is written to the
  21. log file.
  22.  
  23.  
  24. _________________________________________________________________
  25. memory efficient [on|off]                             Default: on
  26. _________________________________________________________________
  27. Displays or sets the search algorithm for buffer memory.
  28.  
  29. When set to 'on' the search is always started from the beginning
  30. of the free list.  This is slower but keeps memory fragmentation
  31. to a minimum.
  32.  
  33. When set to 'off', the search is started from the end, accounting
  34. for more memory fragmentation but keeping speed.
  35.  
  36. (Rumours state that you should include this command as the first
  37. line in /autoexec.nos.  The current releases set the 'efficient'
  38. default to 'yes').
  39.  
  40. >> Example:  memory efficient off
  41.  
  42.  
  43. _________________________________________________________________
  44. memory free
  45. _________________________________________________________________
  46. Display the storage allocator free list.  Each entry consists of
  47. a starting address, in hex, and a size, in decimal bytes.
  48.  
  49.  
  50. _________________________________________________________________
  51. memory garbage
  52. _________________________________________________________________
  53. Start garbage collection.  Warning: This does not work as
  54. advertised.
  55.  
  56.  
  57. _________________________________________________________________
  58. memory ifbufsize [<bytes>]                          Default: 2048
  59. _________________________________________________________________
  60. Display or set the size of the buffers in the interrupt buffer
  61. pool.
  62.  
  63. The size should be set to the largest type of buffer plus a
  64. header size of 22.
  65.  
  66. For example: If AX.25 is the only interface and a packet length
  67. of 256 is defined, the 'ibufsize' should be 256 + 10 * 6 + 22.
  68. The 10 * 6 is the AX.25 header (source, destination and 8
  69. digipeaters).
  70.  
  71. >> Example:  memory ifbufsize 338
  72.  
  73.  
  74. _________________________________________________________________
  75. memory minheap [<number>]
  76. _________________________________________________________________
  77. Display or set the minimum heap size to be allocated before shell
  78. escaping to DOS.  This assures a free heap so that NOS can run
  79. without getting short on memory for a while.
  80.  
  81.  
  82. _________________________________________________________________
  83. memory nibufs [<n>]                                    Default: 5
  84. _________________________________________________________________
  85. Display or set the number of buffers in the interrupt buffer
  86. pool.
  87.  
  88. If the number of buffers is set, the statistics in the memory
  89. status display are reset for number of interrupt buffer fails.
  90. The minimum available value is set to the requested number of
  91. buffers.
  92.  
  93. A rule of thumb for the number of buffers is to watch the
  94. statistics and keep a minimum of 2 free buffers.  Increase or
  95. decrease as required.
  96.  
  97. >> Example:  memory nibufs 10
  98.  
  99.  
  100. _________________________________________________________________
  101. memory sizes
  102. _________________________________________________________________
  103. Display a histogram of storage allocator request sizes.  Each
  104. histogram bin is a binary order of magnitude (i.e. a factor of
  105. 2).
  106.  
  107.  
  108. _________________________________________________________________
  109. memory status
  110. _________________________________________________________________
  111. Display a summary of storage allocator statistics.
  112.  
  113. The first line shows the base address of the heap, its total
  114. size, the amount of heap memory available in bytes and as a
  115. percentage of the total heap size, and the amount of memory left
  116. over (i.e. not placed on the heap at startup) and therefore
  117. available for shell subcommands.
  118.  
  119. The second line shows the total number of calls to allocate and
  120. free blocks of memory, the difference of these two values (i.e.
  121. the number of allocated blocks outstanding), the number of
  122. allocation requests that were denied due to lack of memory, and
  123. the number of calls to 'free' that attempted to free garbage
  124. (e.g. by freeing the same block twice or freeing a garbled
  125. pointer).
  126.  
  127. The third line shows the garbage collection status.
  128.  
  129. The fourth line shows the number of calls to 'malloc' and 'free'
  130. that occurred with interrupts  off.  In normal situations these
  131. values should  be zero.
  132.  
  133. The fifth line shows the current setting of the interrupt buffer
  134. pool, its minimal value and the number of failed buffer requests.
  135.  
  136.  
  137. _________________________________________________________________
  138. memory threshold [<bytes>]                          Default: 8192
  139. _________________________________________________________________
  140. Display or set the memory threshold size in bytes.
  141.  
  142. If available memory falls below this value, no more new sessions
  143. are started or accepted.
  144.  
  145. >> Example:  memory threshold 4096
  146.